package com.dxj.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxj.domain.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.Set;


/**
 * @author dxj
 * @Description 权限Mapper
 * @date 2024/7/29 20:46
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 查询用户权限集合
     * @param userId
     * @return
     */
    Set<String>getUserPermissionById(@Param("userId") Long userId);
}
